<?php 
require 'conndb.php';
require 'config.php';
class model 
{   protected $conn;
	//构造函数，用于建立连接
    function __construct(){
    $this ->conn = new conndb(DB_HOST,DB_USER,DB_PWD,DB_DBNAME,DB_CHARSET);
    }
}



 ?>